 {
        
        var o = require("./UISoundManager.js"), i = require("./UIPopupBase.js"), a = require("../Comm/ChatResConfig.js");
        cc.Class({
            extends: i,
            properties: {},
            init: function () {
                this.m_selfInfo = Global.userProfile.profile;
            },
            onLoad: function () {
                this._emojiContent = Global.utils.searchNode(this.node, "emojiContent"), this._chatContent = Global.utils.searchNode(this.node, "chatContent"),
                    this._spriteFrame = [];
                for (var e = 0; e < this._emojiContent.children.length; e++) this._emojiContent.children[e].on("touchend", this.onEmojiClicked, this);
                for (var t = 0; t < this._chatContent.children.length; t++) this._chatContent.children[t].on("touchend", this.onQuickChatItemClicked, this);
                this.setQuickChatInfo(), this.setEmojiInfo();
            },
            setEmojiInfo: function () {
                for (var e = 0; e < a.EMOTION.length; e++) Global.spriteAtlas.setSpriteFrame(this._emojiContent.children[e].getComponent(cc.Sprite), "Texture/chat_emotion", a.EMOTION[e]);
            },
            setQuickChatInfo: function () {
                for (var e = 0; e < a.STATIC_TXT.length; e++) Global.utils.searchNode(this._chatContent.children[e], "label").getComponent(cc.Label).string = a.STATIC_TXT[e];
            },
            onQuickChatItemClicked: function (e) {
                console.log("event======", e), console.log("event target name ======", e.target.name),
                    this.OnPanelClose();
                var t = e.target.getSiblingIndex(),
                    n = (Global.tableModel.getSeatId(), (a.CHATSTATIC.STATICTXT + t).toString());
                Global.msgHandler.requestInteractionEmotion(n, 1, !0);
            },
            onEmojiClicked: function (e) {
                console.log("emoji event====", e), console.log("emoji event node sibling====", e.target.getSiblingIndex());
                var t = e.target.getSiblingIndex();
                Global.tableModel.getSeatId();
                this.OnPanelClose();
                var n = (a.CHATSTATIC.EMOTION + t).toString();
                Global.msgHandler.requestInteractionEmotion(n, -1, !0);
            },
            OnPanelClose: function () {
                o.playEffect("select"), this.closePanel();
            }
        })
    }